import { get, post } from './http'

export const apis = {
	addressget(p){return get('/admin/policy/list', p)},
	getpolicylist(p){return get('/admin/policy/list', p)},
	// 获取政策详情
	getdetailpolicy(p){return get('/admin/policy/queryById', p)},
	// 获取科技列表
	gettechnologylist(p){return get('/admin/technology/list', p)},
	// 获取科技详情
	getdetailtechnology(p){return get('/admin/technology/queryById', p)},
	// 获取概况可视化数据
	getsurveyvisual(p){return get('/api/company/overView', p)},
	// 获取概况地图企业
	getsurveyenterprises(p){return get('/api/company/companyAllPark', p)},
	// 获取概况企业经纬度信息
	getsurveyenterpriseadd(p){return get('/api/company/overViewMap', p)},
	
	// 获取其他企业可视化数据
	getothersurvery(p){return get('/api/company/companyOperatingOverview', p)},
	
	// 获取企业详情列表
	getCompanyList(p){return get('/api/company/companyDetail', p)},
	// 获取企业工商数据
	getCompanyDetail(p){return get('/api/companyDetail/companyInduction', p)},
	// 获取企业产值营收
	getCompanyRevenue(p){return get('/api/companyDetail/revenue', p)},
	// 获取企业营业利润
	getCompanyIncomeProfit(p){return get('/api/companyDetail/incomeProfit', p)},
	// 获取企业成本费用
	getCompanyCost(p){return get('/api/companyDetail/cost', p)},
	// 获取企业资产负债
	getCompanyAssetsLiabilities(p){return get('/api/companyDetail/assetsLiabilities', p)},
	// 获取企业纳税情况
	getCompanyTaxInfo(p){return get('/api/companyDetail/taxInfo', p)},
	//获取企业关联图谱
	getRelationShip(p){return get('/admin/evaluationModelView/queryRelationShip', p)},
	// 获取企业信息列表
	getCompanyList_info(p){return get('/admin/evaluationModelView/queryCompanyInfoList', p)},
	// 获取企业进出详情
	getCompanydetail_income(p){return get('/admin/evaluationModelView/queryRelationBusinessDetail', p)},
	// 模糊查询企业列表
	getLikeCompany(p){return get('/common/commonApi/queryCompanyInfo', p)},
	
	// 获取评估模型字典表
	getpgmx(p){return get('/common/commonApi/queryModel', p)},
	// 获取年报年份
	getyearlist(p){return get('/common/commonApi/queryAnnualRepostYear', p)},
	// 获取产业类别列表
	getindustrylist(p){return get('/common/commonApi/queryIndustryCategory', p)},
	// 获取国民经纪行业
	gettagList(p){return get('/common/commonApi/tagList', p)},
	// 获取园区列表
	getParkList(p){return get('/common/commonApi/queryParkList', p)},
	
	// 获取评估信息
	getEvaluation(p){return get('/admin/evaluationModelView/onlineEvaluation', p)},
	
	// 登录接口
	login(p){return post('/sys/login', p)},
	//退出登录
	loginout(p){return post('/sys/logout', p)},
	// 获取验证码
	getCode(id){return get('/sys/randomImage/'+id)}
}